home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Commo-Support / Disk-Archive / amiga-logo.dms / amiga-logo.adf / Logo / Logo.Help < prev   
Text File  |  1988-12-15  |  11KB  |  569 lines

  1. PR [LOGO HELP FILE SHOULD NOT BE LOADED.]
  2. PR [24 OCT 88]
  3. STOP.RIGHT.THERE!
  4. #help
  5. %
  6. %object
  7. %[object object ...]
  8. Print helpful information about an object.
  9. !Graphics
  10. #Aspect
  11. &Scrunch
  12. Outputs the aspect ratio of the screen.
  13. #Back
  14. &Bk
  15. %distance
  16. Move the turtle backward a distance.
  17. #Background
  18. &Bg
  19. Outputs the color number of the screen.
  20. #Clean
  21. Clear the graphics screen without affecting the turtle.
  22. #ClearScreen
  23. &CS
  24. Clear the graphics screen and home the turtle.
  25. #Dot
  26. %[x y]
  27. Put a dot at an X, Y position without affecting the turtle.
  28. #DumpGraphics
  29. &DG
  30. Dump the graphics screen to the printer.
  31. #Fence
  32. Restrict the turtle to moving only on the graphics screen.
  33. #Fill
  34. Fill an area bounded by the current pen color.
  35. #Fillin
  36. Fill an area bounded by any color.
  37. #Forward
  38. &Fd
  39. %distance
  40. Move the turtle forward by a distance.
  41. #GraphicsType
  42. &GrType
  43. %object  (...)
  44. Print text to the graphics screen.
  45. #Heading
  46. Outputs the heading angle of the turtle.
  47. #HideTurtle
  48. &HT
  49. Remove the turtle pointer from the screen.
  50. #Home
  51. Center the turtle on the screen, and zero its heading.
  52. #Left
  53. <
  54. %angle
  55. Rotate the turtle counter-clockwise.
  56. #Pen
  57. Outputs a list of the pen state and the pen color.
  58. #PenColor
  59. &PC
  60. Outputs the color number of the pen.
  61. #PenDown
  62. &PD
  63. Put the pen into its draw state.
  64. #PenErase
  65. &PE
  66. Put the pen into its erasing state.
  67. #PenReverse
  68. &PX
  69. Put the pen into its reverse state.
  70. #PenUp
  71. &PU
  72. Put the pen into its no-draw state.
  73. #Position
  74. &Pos
  75. Outputs the position of the turtle as an X, Y list.
  76. #Right
  77. &Rt
  78. %angle
  79. Rotate the turtle clockwise.
  80. #RGB
  81. %colornum
  82. Outputs a list of the RGB color components of a color number.
  83. #SetAspect
  84. &SetScrunch
  85. %number
  86. Set the aspect ratio of the screen.
  87. #SetBackground
  88. &SetBg
  89. %colornum
  90. Set the screen to the color of a color number.
  91. #SetHeading
  92. &SetH
  93. %angle
  94. Set the heading angle of the turtle.
  95. #SetPen
  96. %[penstate colornum]
  97. Set the pen to a new state and color.
  98. #SetPenColor
  99. &SetPC
  100. %colornum
  101. Set the pen to the color of a color number.
  102. #SetPosition
  103. &SetPos
  104. %[x y]
  105. Move the turtle to an X, Y position.
  106. #SetRGB
  107. %colornum [red green blue]
  108. Assign a color number to an RGB color.
  109. #SetX
  110. %x
  111. Set the X position of the turtle.
  112. #SetY
  113. %y
  114. Set the Y position of the turtle.
  115. #Shown?
  116. &ShownP
  117. Outputs TRUE if the turtle pointer is showing.
  118. #ShowTurtle
  119. &ST
  120. Display the turtle pointer.
  121. #Towards
  122. %[x y]
  123. Outputs the heading angle needed to face an X, Y position.
  124. #Window
  125. Give the turtle unrestricted movement.
  126. #Wrap
  127. Make turtle movements wrap at the edge of the screen.
  128. #XPos
  129. &XCor
  130. Outputs the current X position of the turtle.
  131. #YPos
  132. &YCor
  133. Outputs the current Y position of the turtle.
  134. !Numbers
  135. #+
  136. %number number  (...)
  137. Outputs the sum of the input numbers.
  138. #-
  139. %number
  140. %number number  (...)
  141. Outputs the difference of the input numbers.
  142. #*
  143. %number number  (...)
  144. Outputs the product of the input numbers.
  145. #/
  146. %number number  (...)
  147. Outputs the quotient of the input numbers.
  148. #<
  149. %number number
  150. Outputs TRUE if a number is less than another.
  151. #>
  152. %number number
  153. Outputs TRUE if a number is greater than another.
  154. #=
  155. %object object
  156. Outputs TRUE if an object equals another.
  157. #Abs
  158. %number
  159. Outputs the absolute value of a number.
  160. #ArcTangent
  161. &ArcTan
  162. %number
  163. Outputs the angle whose tangent is the input number.
  164. #Cosine
  165. &Cos
  166. %angle
  167. Outputs the cosine of an angle.
  168. #Difference
  169. %number number  (...)
  170. Outputs the difference of the input numbers.
  171. #Integer
  172. &Int
  173. %number
  174. Outputs the integer part of a number.
  175. #Number?
  176. &NumberP
  177. %object
  178. Outputs TRUE if the input is a number.
  179. #Product
  180. %number number  (...)
  181. Outputs the product of the input numbers.
  182. #Quotient
  183. %number number  (...)
  184. Outputs the quotient of the input numbers.
  185. #Random
  186. %number
  187. Outputs a random number.
  188. #Remainder
  189. %number number
  190. Outputs the integer remainder of a divide.
  191. #ReRandom
  192. Restart the sequence of random numbers.
  193. #Round
  194. %number
  195. Outputs a number rounded to the nearest integer.
  196. #Sine
  197. &Sin
  198. %angle
  199. Outputs the sine of an angle.
  200. #SqRt
  201. %number
  202. Outputs the square root of a number.
  203. #Sum
  204. %number number  (...)
  205. Outputs the sum of the input numbers.
  206. #Tangent
  207. &Tan
  208. %angle
  209. Outputs the tangent of an angle.
  210. !Words and Lists
  211. #ASCII
  212. %word
  213. Outputs the ASCII number representing a character.
  214. #ButFirst
  215. &BF
  216. %object
  217. Outputs all but the first element of an object.
  218. #ButLast
  219. &BL
  220. %object
  221. Outputs all but the last element of an object.
  222. #Char
  223. %number
  224. Outputs a word which is the ASCII character for a number.
  225. #Count
  226. %object
  227. Outputs the number of elements in an object.
  228. #Empty?
  229. &EmptyP
  230. %object
  231. Outputs TRUE if an object has no elements.
  232. #Equal?
  233. &EqualP
  234. %object object
  235. Outputs TRUE if the input objects are equal.
  236. #First
  237. %object
  238. Outputs the first element of an object.
  239. #FirstPut
  240. &FPut
  241. %object object
  242. Outputs the first object combined to the front of the second.
  243. #GetProp
  244. &GProp
  245. %name property
  246. Outputs a specified property of a name.
  247. #Item
  248. %number object
  249. Outputs an element of an object.
  250. #Last
  251. %object
  252. Outputs the last element of an object.
  253. #LastPut
  254. &LPut
  255. %object object
  256. Outputs the first object combined to the end of the second.
  257. #List
  258. %object object  (...)
  259. Outputs a list containing the input objects as elements.
  260. #List?
  261. &ListP
  262. %object
  263. Outputs TRUE if an object is a list.
  264. #Member?
  265. &MemberP
  266. %object object
  267. Outputs TRUE if the first object is a member of the second.
  268. #PropList
  269. &PList
  270. %name
  271. Outputs a list of all properties associated with a name.
  272. #PutProp
  273. &PProp
  274. %name property object
  275. For a name, create a property with a given value.
  276. #RemProp
  277. %name property
  278. Remove a property and its value from a name.
  279. #Sentence
  280. &Se
  281. %object object  (...)
  282. Outputs a list containing the words of the input objects.
  283. #Word
  284. %word word  (...)
  285. Outputs a word composed of the input words combined.
  286. #Word?
  287. &WordP
  288. %object
  289. Outputs TRUE if an object is a word.
  290. !Flow of Control and Logic
  291. #And
  292. %pred pred  (...)
  293. Outputs TRUE if all inputs are TRUE.
  294. #Catch
  295. %name [command ...]
  296. Trap an error or the result of a Throw.
  297. #Continue
  298. &Co
  299. Resume execution after a pause.
  300. #Error
  301. Outputs information about the last error.
  302. #Go
  303. %label
  304. Go to the specified label.
  305. #If
  306. %pred [command ...]
  307. %pred [command ...] [command ...]
  308. If pred is TRUE, execute the first list, else execute the second.
  309. #IfFalse
  310. &IfF
  311. %[command ...]
  312. If a Test was FALSE, execute the list.
  313. #IfTrue
  314. &IfT
  315. %[command ...]
  316. If a Test was TRUE, execute the list.
  317. #Label
  318. %label
  319. Associates a name with a line in a procedure for use with Go.
  320. #Not
  321. %pred
  322. Outputs TRUE when FALSE, and FALSE when TRUE.
  323. #Or
  324. %pred pred  (...)
  325. Outputs TRUE if any inputs are TRUE.
  326. #Output
  327. &Op
  328. %object
  329. Return an object as the output from a procedure.
  330. #Pause
  331. Suspend execution of the current procedure.
  332. #Repeat
  333. %number [command ...]
  334. Execute a list a number of times.
  335. #Run
  336. %[command ...]
  337. Execute a list.
  338. #Stop
  339. Return from a procedure.
  340. #Test
  341. %pred
  342. Save a condition for later use in IfFalse and IfTrue.
  343. #Throw
  344. %name
  345. Pass control back to the matching Catch. 
  346. #TopLevel
  347. Pass control back to the top level of Logo. 
  348. #Wait
  349. %number
  350. %"FRAME
  351. Delay execution for a number of 60ths of a second.
  352. !Variables and Definitions
  353. #CopyDef
  354. %newname name
  355. Copy  a procedure definition to a new name.
  356. #Define
  357. %name [[input ...] [[command ...][command ...]]]
  358. Make a definition list into a procedure.
  359. #Define?
  360. &DefineP
  361. %object
  362. Outputs TRUE if the input object is a procedure.
  363. #End
  364. Terminate a procedure definition.
  365. #Local
  366. %name  (...)
  367. Make a name local to a procedure.
  368. #Make
  369. %name object
  370. Make a variable and give it a value.
  371. #Name
  372. %object name
  373. Attach a value to a variable name.
  374. #Name?
  375. &NameP
  376. %object
  377. Outputs TRUE if an object has a value.
  378. #Primitive?
  379. &PrimitiveP
  380. %object
  381. Outputs TRUE if the input is the name of a Logo primitive.
  382. #Text
  383. %name
  384. Outputs a procedure definition as a list of lists.
  385. #Thing
  386. %name
  387. Outputs the value or definition of a name.
  388. #To
  389. %name inputs ...
  390. Define a procedure; invoke the editor if necessary.
  391. !Reading, Printing, and Sensing
  392. #Button?
  393. &ButtonP
  394. %number
  395. Outputs TRUE if the mouse's left button is pressed.
  396. #Key?
  397. &KeyP
  398. Outputs TRUE if there is a character ready to be read.
  399. #Mouse
  400. Outputs the X, Y position of the mouse as a list.
  401. #Print
  402. &Pr
  403. %object  (...)
  404. Print an object, then start a new line.
  405. #ReadChar
  406. &RC
  407. Outputs a character typed on the keyboard.
  408. #ReadList
  409. &RL
  410. Outputs a list from a line typed on the keyboard.
  411. #Show
  412. %object  (...)
  413. Print an object, then start a new line.
  414. #Type
  415. %object  (...)
  416. Print an object (but do not start a new line).
  417. !Screen, Text, and Editor
  418. #ClearText
  419. &CT
  420. Clear the text window, and home the text cursor.
  421. #Cursor
  422. Outputs the position of the text cursor as a list.
  423. #DumpEdit
  424. &DE
  425. Dump the contents of the edit buffer to the printer.
  426. #DumpText
  427. &DT
  428. Dump the entire text window to the printer.
  429. #Edit
  430. &Ed
  431. %
  432. %name
  433. %[name name ...] 
  434. Start or resume a Logo editor session.
  435. #EditAll
  436. &EdAll
  437. %
  438. %package
  439. %[package package ...] 
  440. Edit everything in the workspace, a package, or packages.
  441. #EditFile
  442. &EdF
  443. %file
  444. Edit a text file.
  445. #EditNames
  446. &EdNs
  447. %
  448. %package
  449. %[package package ...] 
  450. Edit all variables in the workspace, a package, or packages.
  451. #EditProcs
  452. &EdPs
  453. %
  454. %package
  455. %[package package ...] 
  456. Edit all procedures in the workspace, a package, or packages.
  457. #FullScreen
  458. &FS
  459. Display the graphics window only.
  460. #SaveEdit
  461. &SaveFile
  462. %file
  463. Save the edit buffer directly to a text file.
  464. #SetCursor
  465. %[column row]
  466. Set the text cursor position.
  467. #SplitScreen
  468. &SS
  469. Display both the graphics and text windows.
  470. #TextScreen
  471. &TS
  472. Display the text window only.
  473. !Workspace Management
  474. #Bury
  475. %package
  476. Hide a package from various work space commands.
  477. #Catalog
  478. %
  479. %directory
  480. Print the names of all files in a directory.
  481. #Dir
  482. %
  483. %directory
  484. Outputs the names of all files in a directory.
  485. #Erase
  486. &Er
  487. %name
  488. Erase a procedure or variable from the workspace.
  489. #EraseAll
  490. &ErAll
  491. %
  492. %package
  493. %[package package ...]
  494. Erase everything in the workspace, a package, or packages.
  495. #EraseFile
  496. &ErF
  497. %file
  498. Erase a file from the disk.
  499. #EraseNames
  500. &ErNs
  501. %
  502. %package
  503. %[package package ...] 
  504. Erase all variables in the workspace, a package, or packages.
  505. #EraseProcs
  506. &ErPs
  507. %
  508. %package
  509. %[package package ...] 
  510. Erase all procedures in the workspace, a package, or packages.
  511. #Exit
  512. &Quit
  513. Exit Logo and return to Workbench or CLI.
  514. #Load
  515. %file
  516. Load a file into the workspace.
  517. #Logo
  518. Prints the welcome banner for Amiga Logo.
  519. #Nodes
  520. Outputs the number of free memory nodes.
  521. #Package
  522. %package name
  523. %package [name name ...] 
  524. Put the named procedures or variables into a package.
  525. #PackageAll
  526. &PkgAll
  527. %package
  528. Put all unpackaged procedures and variables into a package.
  529. #PrintOut
  530. &PO
  531. %name
  532. %[name name ...]
  533. Print the named procedures and variables.
  534. #PrintOutAll
  535. &POAll
  536. %
  537. %package
  538. %[package package ...] 
  539. Print everything in the workspace, a package, or packages.
  540. #PrintOutNames
  541. &PONs
  542. %
  543. %package
  544. %[package package ...] 
  545. Print all variables in the workspace, a package, or packages.
  546. #PrintOutProcs
  547. &POPs
  548. %
  549. %package
  550. %[package package ...] 
  551. Print all procedures in the workspace, a package, or packages.
  552. #PrintOutTitles
  553. &POTs
  554. %
  555. %package
  556. %[package package ...] 
  557. Print procedure titles in the workspace, a package, or packages.
  558. #Recycle
  559. Free garbage memory nodes for reuse.
  560. #Save
  561. %file
  562. %file package
  563. Save the workspace or a package to a file.
  564. #Unbury
  565. %package
  566. Unbury everything in a package.
  567. #Version
  568. Outputs the version number of AmigaLogo.
  569.